Skip to main content

All Questions

Tagged with
0votes
2answers
92views

Structured data format to XML

I have some output in some structured data format that I need to convert into XML. My use case is that Palo Alto firewalls deliver configuration output via the command line interface which cannot be ...
Questi's user avatar
0votes
1answer
50views

How to convert several MSG-IDs in xml at once? [closed]

I have a Script which can convert MSG-IDs (MSG-ID placed on our DB) into XML files. Here an Example for converting one MSID into XML getDXML xxxxxMSGIDxxxxxx > filename.xml now I have more than ...
ramadnay's user avatar
1vote
1answer
545views

How to read XML input in lstopo

I have an XML output file from the lstopo command and I wanted to build a PNG file for it. Can I do this using the command line? Something like: lstopo -i out.xml -o abc.png Is something like this ...
user2635088's user avatar
2votes
1answer
344views

Convert / import flat file with multiple records, one variable per line

I am searching for an efficient way using (UNIX) command line tools to read a flat file into a(ny) database, perhaps after first converting to an intermediate structured format, for example XML or csv....
user avatar
1vote
1answer
796views

How to convert a generic xml format block to properties format String from an xml file using ksh script [closed]

With the conditions: I cannot use any XML parser tool as I don't have permission , read only My xmllint version does not support xpath, and I cannot update it , read only I dont have xmlstarlet and ...
Philip Morris's user avatar
2votes
3answers
8kviews

Split XML file into multiple files

I have an xml file that have different nodes, I want to split files like this: <unix> <mm> </unix> <osx> <nn> </osx> When I run the script I want it to make one ...
DisplayName's user avatar
2votes
1answer
2kviews

Convert XML to SQL INSERT statements using the command line

Is there a way to convert XML to SQL INSERT using the command line, here is examples: <something> <somthingelse>lol</somethingelse> </something> would be INSERT INTO `...
DisplayName's user avatar

close